package com.wzh.yebServe.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.models.auth.In;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @Author wzh
 * @create 2022/11/19 15:19
 * @Description:
 */
@TableName("t_admin_role")
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "AdminRole 实体类")
public class UserRole implements Serializable {

    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "操作员id")
    private Integer adminId;

    @ApiModelProperty(value = "角色id")
    private Integer rid;


}
